.class public Les/mi;
.super Les/pi;
.source "AdJunkFilter.java"


# instance fields
.field private final i:Ljava/lang/String;

.field private j:Ljava/util/concurrent/atomic/AtomicInteger;

.field private k:Ljava/util/Set;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Set<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private l:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lcom/estrongs/android/cleaner/scandisk/a$a;",
            ">;"
        }
    .end annotation
.end field

.field private m:Ljava/util/concurrent/ConcurrentHashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/ConcurrentHashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private n:Z


# direct methods
.method public constructor <init>(Les/fi;Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/fi;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    const v0, 0x7f11024c

    .line 1
    invoke-direct {p0, p1, p2, v0}, Les/pi;-><init>(Les/fi;Ljava/util/List;I)V

    const-string p1, "AD Junk"

    .line 2
    iput-object p1, p0, Les/mi;->i:Ljava/lang/String;

    .line 3
    new-instance p1, Ljava/util/concurrent/atomic/AtomicInteger;

    const/4 p2, 0x0

    invoke-direct {p1, p2}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V

    iput-object p1, p0, Les/mi;->j:Ljava/util/concurrent/atomic/AtomicInteger;

    .line 4
    invoke-static {}, Lcom/estrongs/android/cleaner/scandisk/a;->a()Ljava/util/Map;

    move-result-object p1

    iput-object p1, p0, Les/mi;->l:Ljava/util/Map;

    .line 5
    invoke-interface {p1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object p1

    iput-object p1, p0, Les/mi;->k:Ljava/util/Set;

    .line 6
    new-instance p1, Ljava/util/concurrent/ConcurrentHashMap;

    invoke-direct {p1}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V

    iput-object p1, p0, Les/mi;->m:Ljava/util/concurrent/ConcurrentHashMap;

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/utils/q;->b()Z

    move-result p1

    iput-boolean p1, p0, Les/mi;->n:Z

    return-void
.end method

.method private c(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Les/mi;->m:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    if-eqz p1, :cond_1

    .line 2
    iget-object v0, p0, Les/mi;->l:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/cleaner/scandisk/a$a;

    if-eqz p1, :cond_1

    .line 3
    iget-boolean v0, p0, Les/mi;->n:Z

    if-eqz v0, :cond_0

    iget-object p1, p1, Lcom/estrongs/android/cleaner/scandisk/a$a;->c:Ljava/lang/String;

    goto :goto_0

    :cond_0
    iget-object p1, p1, Lcom/estrongs/android/cleaner/scandisk/a$a;->b:Ljava/lang/String;

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    .line 4
    :goto_0
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 5
    iget-boolean p1, p0, Les/mi;->n:Z

    if-eqz p1, :cond_2

    const-string p1, "\u672a\u77e5\u5e7f\u544a"

    goto :goto_1

    :cond_2
    const-string p1, "Unknown AD"

    :cond_3
    :goto_1
    return-object p1
.end method


# virtual methods
.method protected a(Ljava/lang/String;Ljava/lang/String;)Les/ei;
    .locals 5

    .line 4
    new-instance v0, Les/ei;

    iget-object v1, p0, Les/mi;->j:Ljava/util/concurrent/atomic/AtomicInteger;

    invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I

    move-result v1

    iget-object v2, p0, Les/li;->d:Les/ei;

    invoke-virtual {v2}, Les/ei;->j()I

    move-result v2

    const/4 v3, 0x1

    add-int/2addr v2, v3

    iget-object v4, p0, Les/li;->d:Les/ei;

    invoke-direct {v0, v1, v2, v4}, Les/ei;-><init>(IILes/ei;)V

    .line 5
    invoke-virtual {v0, v3}, Les/ei;->d(I)V

    const/4 v1, 0x3

    .line 6
    invoke-virtual {v0, v1}, Les/ei;->a(I)V

    .line 7
    invoke-virtual {v0, p2}, Les/ei;->c(Ljava/lang/String;)V

    .line 8
    invoke-virtual {v0, p1}, Les/ei;->d(Ljava/lang/String;)V

    .line 9
    iget-object p1, p0, Les/li;->f:Ljava/lang/String;

    invoke-virtual {v0, p1}, Les/ei;->e(Ljava/lang/String;)V

    .line 10
    invoke-virtual {v0, v3}, Les/ei;->c(I)V

    .line 11
    invoke-static {p2}, Les/gi;->a(Ljava/lang/String;)Z

    move-result p1

    invoke-virtual {v0, p1}, Les/ei;->b(Z)V

    .line 12
    invoke-direct {p0, p2}, Les/mi;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Les/ei;->b(Ljava/lang/String;)V

    return-object v0
.end method

.method protected a(Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    return-object p1
.end method

.method protected a(Les/ei;Lcom/estrongs/android/cleaner/scandisk/f$a;)V
    .locals 4

    const/4 v0, 0x1

    .line 1
    invoke-virtual {p1, v0}, Les/ei;->a(Z)V

    .line 2
    invoke-virtual {p1, v0}, Les/ei;->c(I)V

    .line 3
    iget-object p1, p0, Les/li;->g:Les/fi;

    iget-object v1, p2, Lcom/estrongs/android/cleaner/scandisk/f$a;->a:Ljava/lang/String;

    iget-wide v2, p2, Lcom/estrongs/android/cleaner/scandisk/f$a;->d:J

    invoke-virtual {p1, v1, v2, v3, v0}, Les/fi;->a(Ljava/lang/String;JZ)V

    return-void
.end method

.method protected a(Lcom/estrongs/android/cleaner/scandisk/f$a;)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method protected a(Ljava/lang/String;Lcom/estrongs/android/cleaner/scandisk/f;)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method

.method protected b()Ljava/lang/String;
    .locals 1

    const-string v0, "AD Junk"

    return-object v0
.end method

.method protected b(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    .line 2
    iget-object v0, p0, Les/mi;->k:Ljava/util/Set;

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v1, 0x0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 3
    invoke-virtual {p1, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v3

    const/4 v4, -0x1

    if-eq v3, v4, :cond_0

    .line 4
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v4, 0x0

    invoke-virtual {p1, v4, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 5
    new-instance v3, Ljava/io/File;

    invoke-direct {v3, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 6
    invoke-virtual {v3}, Ljava/io/File;->isFile()Z

    move-result v3

    if-eqz v3, :cond_1

    goto :goto_0

    .line 7
    :cond_1
    iget-object p1, p0, Les/mi;->m:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {p1, v1, v2}, Ljava/util/concurrent/ConcurrentHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2
    return-object v1
.end method

.method public b(Lcom/estrongs/android/cleaner/scandisk/f;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Les/pi;->b(Lcom/estrongs/android/cleaner/scandisk/f;)V

    return-void
.end method

.method public getId()I
    .locals 1

    const/4 v0, 0x3

    return v0
.end method
